<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <script type="text/javascript">
    var name= "王静";
    function f1(){
      return name;
    }
    function f2(){
      var age =21;
      var time = "2014-9-2";
      return name+"  "+age+"  "+time;
    }
    function f3(){
      var lh = "5号楼";
      var ssh = "5#514";
      var fjs = "6人间"
      return lh+"  "+ssh+"  "+fjs;
    }
    console.log("学生信息:");
    console.log(f2());
    console.log("住宿信息:");
    console.log(f3());
    </script>
  </body>
</html>
